TVView

constructor(context: Context, module: Module)

Constructs a new TVView.

Parameters

context

The Context the view is running in, through which it can access the current theme, resources, etc.

module

The Module data that defines the configuration for this TV view, including video source URL, volume, VAST ad tags, and scaling type. Must not be null.

Throws

if module is null.